﻿CREATE TABLE [dbo].[codeIDSource] (
    [IDSourceCode] CHAR (1)      NOT NULL,
    [OwnerID]      INT           NOT NULL,
    [Description]  NVARCHAR (50) NOT NULL,
    PRIMARY KEY CLUSTERED ([IDSourceCode] ASC, [OwnerID] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF),
    FOREIGN KEY ([OwnerID]) REFERENCES [dbo].[tblOwner] ([OwnerID]) ON DELETE NO ACTION ON UPDATE NO ACTION
);

